<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'test.jsp' starting page</title>
    

  </head>
  
  <body>
  <jsp:useBean id="onlineuser" class="com.fit.user.bean.OnlineUser" scope="application"/>  
<%
  session=request.getSession(false);
List list = (List)application.getAttribute("onlineUserList");
%>
<table border=0 cellpadding=0 cellspacing=0><tr><td width=380 background="../images/address.gif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<fmt:message key="seat"/>
&nbsp;&nbsp;用户管理 >> 在线用户查看</td></tr></table>
<BR>
<table height="30" border="0" cellPadding=2 cellSpacing=1 class='bgcolor'>
<tr class='bg' bgcolor=#C2E9FA>
<td height=25>当前在线用户数：&nbsp;<font color=red><B><%=list.size()%></B></font></td>
</tr>
  <tr>
<td bgcolor='#FFFFFF'>
<table height="30" border="0">

  </tr>
</table>
</td>
</tr>
</table>
  
  </body>
</html>
